package com.codrim.cs.data.rpc.dto.param;

import com.codrim.cs.data.rpc.enums.OrderBy;
import com.codrim.cs.data.rpc.enums.SelectGroupByAndOrderBy;

import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * @author tony
 */
@Data
@AllArgsConstructor
public class OfferReportField<T extends Enum<T> & SelectGroupByAndOrderBy> implements Serializable {
    private T field;
    private OrderBy orderBy;
    private boolean groupBy;
    private boolean select;
}
